package lambda;

import java.io.File;
import java.io.FileFilter;

public class LambdaDemo2 {
    public static void main(String[] args) {
       /* FileFilter fileFilter = new FileFilter() {
            @Override
            public boolean accept(File f) {
                return f.getName().startsWith(".");
            }
        };*/
        FileFilter fileFilter = f->f.getName().startsWith(".");
    }
}
